package com.pan.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Schema(description = "此为公告信息")
public class Notice implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    @Schema(description = "公告编号", example = "1")
    private Integer id;
    @Schema(description = "公告标题", example = "警告")
    private String title;
    @Schema(description = "公告类型", example = "维护通知")
    private String type;
    @Schema(description = "公告体")
    private String body;
    @Schema(description = "发起人", example = "牛哥")
    private String creator;
    @Schema(description = "公告创建时间", example = "2023-04-20 03:29:44")
    private String createTime;
    @Schema(description = "公告更新时间", example = "2023-04-20 03:29:44")
    private String updateTime;
    @Schema(description = "公告逻辑删除 ‘1’为未删除 ‘0’为已删除 ", example = "1")
    private String delete;
}
